arm: export platform_op XENPF_settime64
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 12 Nov 2015 17:46:03 +0000 (17:46 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 25 Nov 2015 11:26:25 +0000 (11:26 +0000)
commit6c311769a686d5442d27571d98d05a41ea76233f
treeeacfd437119c356ecf7e6275ce0fbd5d87f40ce8
parentf1e5b11099c0d5cc51d26ba3f85d8fc3581d1cb3
arm: export platform_op XENPF_settime64

Call update_domain_wallclock_time at domain initialization.
Set time_offset_seconds to the number of seconds between physical boot
and domain initialization: it is going to be used to get/set the
wallclock time.
Add time_offset_seconds to system_time when before calling do_settime,
so that system_time actually accounts for all the time in nsec between
machine boot and when the wallclock was set.

Expose xsm_platform_op to ARM.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Reviewed-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
CC: dgdegra@tycho.nsa.gov
xen/arch/arm/Makefile
xen/arch/arm/domain.c
xen/arch/arm/platform_hypercall.c [new file with mode: 0644]
xen/arch/arm/traps.c
xen/arch/arm/vtimer.c
xen/include/xsm/dummy.h
xen/include/xsm/xsm.h
xen/xsm/dummy.c
xen/xsm/flask/hooks.c